package com.example.demo.design.GoF.responsibility;

/**
 * 抽象处理者：领导类
 *
 * @author luowj12
 * @since 2021/5/8 14:17
 */
public abstract class Leader {

    private Leader next;
    public void setNext(Leader next) {
        this.next = next;
    }
    public Leader getNext() {
        return next;
    }
    //处理请求的方法
    public abstract void handleRequest(int LeaveDays);

}
